package com.lwj.liwanjia.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/10/20.
 */

public class IndentDetailBean {

    /**
     * state : 1
     * message : null
     * data : {"shoptel":null,"shopimage":"http://101.132.69.99/liwanjia/upload/null/2017/10/11/15/44/59/030/915.jpg","payInfo":null,"tradeId":"liwanjia_1508307333646","status":"待发货","consignee":{"consigneeName":"云家洁","consigneeAddress":"浙江省;温州市;龙湾区;文昌路209号;红连文创园(东南门)","consigneeLat":27.974149,"userId":"2","fist":1,"consigneeLng":120.730804,"consigneePhone":"15356506227"},"shopname":"店铺名字","orderTime":1508312556000,"amount":1,"commodity":[{"commodityprice":35,"commodityNum":1,"freight":0,"commodityname":"食品","commodityimage":"http://101.132.69.99/images/1.jpg","commoditycode":"2"}],"totalpay":35,"liwanjiaInvoice":"纸质-企业-商品","payWay":"一卡通"}
     */

    private int state;
    private Object message;
    private DataBean data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * shoptel : null
         * shopimage : http://101.132.69.99/liwanjia/upload/null/2017/10/11/15/44/59/030/915.jpg
         * payInfo : null
         * tradeId : liwanjia_1508307333646
         * status : 待发货
         * consignee : {"consigneeName":"云家洁","consigneeAddress":"浙江省;温州市;龙湾区;文昌路209号;红连文创园(东南门)","consigneeLat":27.974149,"userId":"2","fist":1,"consigneeLng":120.730804,"consigneePhone":"15356506227"}
         * shopname : 店铺名字
         * orderTime : 1508312556000
         * amount : 1
         * commodity : [{"commodityprice":35,"commodityNum":1,"freight":0,"commodityname":"食品","commodityimage":"http://101.132.69.99/images/1.jpg","commoditycode":"2"}]
         * totalpay : 35.0
         * liwanjiaInvoice : 纸质-企业-商品
         * payWay : 一卡通
         */

        private String shoptel;
        private String shopimage;
        private String payInfo;
        private String tradeId;
        private String status;
        private ConsigneeBean consignee;
        private String shopname;
        private long orderTime;
        private long endPayTime;
        private int amount;
        private double totalpay;
        private String liwanjiaInvoice;
        private String payWay;
        private String logistics;
        private List<CommodityBean> commodity;

        public String getLogistics() {
            return logistics;
        }

        public void setLogistics(String logistics) {
            this.logistics = logistics;
        }

        public long getEndPayTime() {
            return endPayTime;
        }

        public void setEndPayTime(long endPayTime) {
            this.endPayTime = endPayTime;
        }

        public String getShoptel() {
            return shoptel;
        }

        public void setShoptel(String shoptel) {
            this.shoptel = shoptel;
        }

        public String getShopimage() {
            return shopimage;
        }

        public void setShopimage(String shopimage) {
            this.shopimage = shopimage;
        }

        public String getPayInfo() {
            return payInfo;
        }

        public void setPayInfo(String payInfo) {
            this.payInfo = payInfo;
        }

        public String getTradeId() {
            return tradeId;
        }

        public void setTradeId(String tradeId) {
            this.tradeId = tradeId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public ConsigneeBean getConsignee() {
            return consignee;
        }

        public void setConsignee(ConsigneeBean consignee) {
            this.consignee = consignee;
        }

        public String getShopname() {
            return shopname;
        }

        public void setShopname(String shopname) {
            this.shopname = shopname;
        }

        public long getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(long orderTime) {
            this.orderTime = orderTime;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public double getTotalpay() {
            return totalpay;
        }

        public void setTotalpay(double totalpay) {
            this.totalpay = totalpay;
        }

        public String getLiwanjiaInvoice() {
            return liwanjiaInvoice;
        }

        public void setLiwanjiaInvoice(String liwanjiaInvoice) {
            this.liwanjiaInvoice = liwanjiaInvoice;
        }

        public String getPayWay() {
            return payWay;
        }

        public void setPayWay(String payWay) {
            this.payWay = payWay;
        }

        public List<CommodityBean> getCommodity() {
            return commodity;
        }

        public void setCommodity(List<CommodityBean> commodity) {
            this.commodity = commodity;
        }

        public static class ConsigneeBean {
            /**
             * consigneeName : 云家洁
             * consigneeAddress : 浙江省;温州市;龙湾区;文昌路209号;红连文创园(东南门)
             * consigneeLat : 27.974149
             * userId : 2
             * fist : 1
             * consigneeLng : 120.730804
             * consigneePhone : 15356506227
             */

            private String consigneeName;
            private String consigneeAddress;
            private double consigneeLat;
            private String userId;
            private int fist;
            private double consigneeLng;
            private String consigneePhone;

            public String getConsigneeName() {
                return consigneeName;
            }

            public void setConsigneeName(String consigneeName) {
                this.consigneeName = consigneeName;
            }

            public String getConsigneeAddress() {
                return consigneeAddress;
            }

            public void setConsigneeAddress(String consigneeAddress) {
                this.consigneeAddress = consigneeAddress;
            }

            public double getConsigneeLat() {
                return consigneeLat;
            }

            public void setConsigneeLat(double consigneeLat) {
                this.consigneeLat = consigneeLat;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public int getFist() {
                return fist;
            }

            public void setFist(int fist) {
                this.fist = fist;
            }

            public double getConsigneeLng() {
                return consigneeLng;
            }

            public void setConsigneeLng(double consigneeLng) {
                this.consigneeLng = consigneeLng;
            }

            public String getConsigneePhone() {
                return consigneePhone;
            }

            public void setConsigneePhone(String consigneePhone) {
                this.consigneePhone = consigneePhone;
            }
        }

        public static class CommodityBean implements Serializable{
            /**
             * commodityprice : 35.0
             * commodityNum : 1
             * freight : 0.0
             * commodityname : 食品
             * commodityimage : http://101.132.69.99/images/1.jpg
             * commoditycode : 2
             */

            private double commodityprice;
            private int commodityNum;
            private double freight;
            private String commodityname;
            private String commodityimage;
            private String commodityinfo;
            private String commodityType;

            public String getCommodityType() {
                return commodityType;
            }

            public void setCommodityType(String commodityType) {
                this.commodityType = commodityType;
            }

            public String getCommodityinfo() {
                return commodityinfo;
            }

            public void setCommodityinfo(String commodityinfo) {
                this.commodityinfo = commodityinfo;
            }

            private String commoditycode;

            public double getCommodityprice() {
                return commodityprice;
            }

            public void setCommodityprice(double commodityprice) {
                this.commodityprice = commodityprice;
            }

            public int getCommodityNum() {
                return commodityNum;
            }

            public void setCommodityNum(int commodityNum) {
                this.commodityNum = commodityNum;
            }

            public double getFreight() {
                return freight;
            }

            public void setFreight(double freight) {
                this.freight = freight;
            }

            public String getCommodityname() {
                return commodityname;
            }

            public void setCommodityname(String commodityname) {
                this.commodityname = commodityname;
            }

            public String getCommodityimage() {
                return commodityimage;
            }

            public void setCommodityimage(String commodityimage) {
                this.commodityimage = commodityimage;
            }

            public String getCommoditycode() {
                return commoditycode;
            }

            public void setCommoditycode(String commoditycode) {
                this.commoditycode = commoditycode;
            }
        }
    }
}
